Skip to content

Configure domain-level API gateway settings and access policies

Request

Requires domains::configure:gateway permission.

Security
JWTAuthorizer
Path
domainNamestringrequired

Domain name

Bodyapplication/jsonrequired

APIGW configuration

gateway_nodestring

FQDN of the node that acts as the primary API gateway for the domain

Example:"gw.myorg.trustgrid.io"
new_cloud_gatewayboolean

Enable the next-generation cloud gateway routing path

curl -i -X PUT \
  'https://apidocs.trustgrid.io/_mock/domain/{domainName}/config/apigw' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "gateway_node": "gw.myorg.trustgrid.io",
    "new_cloud_gateway": true
  }'

Responses

OK

Response
No content